package com.webapp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuxiangpeng
 * @since 2021-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AgentGroupSaleDetail对象", description="")
public class AgentGroupSaleDetail implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "代理人ID和产品id")
    private String agentidAndProductid;

    @ApiModelProperty(value = "代理人id")
    private Long agentId;

    @ApiModelProperty(value = "代理人渠道代码")
    private String agentChannelCode;

    @ApiModelProperty(value = "代理人所属分公司")
    private String agentCompany;

    @ApiModelProperty(value = "产品id")
    private Long productId;

    @ApiModelProperty(value = "产品状态:停售/在售")
    private String productState;

    @ApiModelProperty(value = "产品所属保障大类")
    private String productClass;

    @ApiModelProperty(value = "代理人所属群")
    private Integer agentGroup;

    @ApiModelProperty(value = "代理人所属群人均近1个月销售本产品数量")
    private BigDecimal perCapitaSaleproductNumber;

    @ApiModelProperty(value = "代理人所属群本产品销售分")
    private BigDecimal groupProductSaleScore;


}
